package br.com.klis.batendoumabola.client.widgets;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.StackPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class EastVerticalPanel extends Composite {
  	
  public EastVerticalPanel() {
    super();
    GWT.log("init east panel...", null);
	VerticalPanel eastPanel = new VerticalPanel();
	eastPanel.setSize("100%", "100%");
	initWidget(eastPanel);
	
    HTML east = new HTML("<center>A<br>N<br>U<br>N<br>C<br>I<br>E<br>&nbsp;<br>A<br>Q<br>U<br>I</center>", true);
    
    StackPanel stackPanel = new StackPanel();
    stackPanel.setSize("100%", "100%");
    stackPanel.add(east, "Publicidade",false);
    eastPanel.add(stackPanel);
    
    /*String textoFacebook = "<!-- Facebook Badge START --><a href=\"http://www.facebook.com/pages/Batendo-uma-Bola/137177966332469\" target=\"_TOP\" style=\"font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;\" title=\"Batendo uma Bola\">Batendo uma Bola</a><br/><a href=\"http://www.facebook.com/pages/Batendo-uma-Bola/137177966332469\" target=\"_TOP\" title=\"Batendo uma Bola\"><img src=\"http://badge.facebook.com/badge/137177966332469.1192.1869368979.png\" width=\"120\" height=\"223\" style=\"border: 0px;\" /></a><br/><a href=\"http://www.facebook.com/business/dashboard/\" target=\"_TOP\" style=\"font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;\" title=\"Crie seu próprio atalho!\">Promova sua página também</a><!-- Facebook Badge END -->\"";
    HTML facebookHTML = new HTML(textoFacebook);
    eastPanel.add(facebookHTML);*/
    
    /*String textoTwitter = "<a href=\"http://www.twitter.com/batendoumabola\"><img src=\"http://twitter-badges.s3.amazonaws.com/twitter-a.png\" alt=\"Follow batendoumabola on Twitter\"/></a>";
    HTML twitterHTML = new HTML(textoTwitter);
    //eastPanel.add(twitterHTML);
*/    
    
    /*Image imagemTwitter = new Image(Resources.INSTANCE.twitter());
    Image imagemFacebook = new Image(Resources.INSTANCE.facebook());
    Grid grid = new Grid(1,2);
    grid.setWidget(0, 0, imagemTwitter);
    grid.setWidget(0, 1, imagemFacebook);
    //grid.setBorderWidth(1);
    
    grid.setSize("100%", "100%");
    grid.getColumnFormatter().setWidth(0, "50%");
    grid.getCellFormatter().setHorizontalAlignment(0, 0, HorizontalPanel.ALIGN_CENTER);
    grid.getCellFormatter().setHorizontalAlignment(0, 1, HorizontalPanel.ALIGN_CENTER);*/
    
    
    /*HorizontalPanel imagensPanel = new HorizontalPanel();
    imagensPanel.add(imagemTwitter);
    imagensPanel.add(imagemFacebook);*/
    
    //eastPanel.add(grid);
  }	
}